cmake_minimum_required(VERSION 2.6)
project(hello)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -D_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O0 -g -DNDEBUG")
find_package(Qt4 4.4.3 COMPONENTS QtCore QtGui)
set(QT_USE_QTXML 1)
include(${QT_USE_FILE})
set(HELLO_SRCS main.cpp)
add_executable(${PROJECT_NAME} ${HELLO_SRCS})
target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES})

